package com.gree.framework.service;

import com.gree.framework.entity.SysUser;
import org.nutz.dao.entity.Record;

import java.util.List;

public interface GscmUserService {

    SysUser finduser (String usid, String comp);

    SysUser findSuno (String usid, String comp);

    Record getCompDsca (String comp);

    List<Record> getAuth (String usid, String comp);

    List<Record> getAuthBySuno (String usid, String comp);

    SysUser finduserWithClient (String usid, String comp, String client);

    List<Record> getAuthWithClient (String usid, String comp, String client);

    int updateUserProfile(SysUser user);

    int updateUserProfileAvatar(String avatarUrl);

    int updateUser(SysUser user);

    void updateLxdt(String usid, String comp);

    String getAvatar(String usid,String comp);

    Record selectByIdDept(String usid,String comp);
}
